<!--直接购买弹窗模板-->
<script type="text/html" id="buyTemp">
    <form class="formLayer" action="/member/order/createOrder">
        <input type="hidden" name="id[]" value="{%id%}">
        <table class="table">
            <thead>
            <tr>
                <td width="100">商品</td>
                <td width="100">价格(元/{$pro_unit})</td>
                <td width="120">最小交易量({$pro_unit})</td>
                <td width="90">购买数量({$pro_unit})</td>
                <td width="100">交收方式</td>
                <td width="100">总额</td>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>{%product_name%}/{%brand_name%}</td>
                <td class="c-primary">￥<span class="price">{%sales_price%}</span></td>
                <td>{%min_volume%}</td>
                <td >
                    <div class="num_box">
                        <a href="javascript:;" class="cut"></a>
                        <input type="text" name="quantity[]" value="{%min_volume%}" class="num" data-min="{%min_volume%}" data-max="{%quantity%}"/>
                        <a href="javascript:;" class="add"></a>
                    </div>
                </td>
                <td>{%delivery_way%}</td>
                <td class="c-danger">
                    ￥<span class="count">{%product_actual_price%}</span>
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</script>